package com.zhuiyun.pm.sys.bidmanagement.service;


import com.zhuiyun.pm.page.PageRequest;
import com.zhuiyun.pm.page.PageResult;
import com.zhuiyun.pm.sys.bidmanagement.entity.GoodsInfo;

/**
 * @Description:
 * @ClassName: PublishService
 * @Author: YB
 * @Date: 2023/3/14 8:31
 * @Version: 1.0
 */
public interface GoodsInfoService {
    /**
        * @Author yuanb
        * @Description
        * @Date 2023/3/14 9:18
        * @Return com.zhuiyun.pm.page.PageResult
        * @param pageRequest
        * 竞拍管理全查
    */
    PageResult goodsInfoSelectAll(GoodsInfo goodsInfo, PageRequest pageRequest);

    /**
        * @Author yuanb
        * @Description
        * @Date 2023/3/15 8:37
        * @Return int
        * @param id
        * 修改审核成功
    */
    int goodsInfoUpdatePass(Integer id);

    /**
        * @Author yuanb
        * @Description
        * @Date 2023/3/15 8:40
        * @Return int
        * @param id
        * 修改驳回
    */
    int goodsInfoUpdateReject(Integer id);
    /**
     * @Author yuanb
     * @Description
     * @Date 2023/3/15 8:37
     * @Return int
     * @param id
     * 修改二次审核成功
     */
    int goodsInfoUpdateSecondary(Integer id);
    /**
     * @Author yuanb
     * @Description
     * @Date 2023/3/15 8:40
     * @Return int
     * @param id
     * 修改二次驳回
     */
    int goodsInfoUpdateRejectSecondary(Integer id);

    /**
        * @Author yuanb
        * @Description
        * @Date 2023/4/1 9:31
        * @Return int
        * * @param goodsInfo
     * 竞品跟踪
    */
    PageResult goodsInfoFollow(GoodsInfo goodsInfo,PageRequest pageRequest);
    /**
        * @Author yuanb
        * @Description
        * @Date 2023/4/1 10:21
        * @Return int
        * * @param id
     * 竞品下架
    */
    int goodsInfoUndercarriage(Integer id);

}
